#pragma once
#include "Entity_Base.h"

class Stress_Base :
    public::Entity_Base
{
public:
    std::vector<double> m_coord;
    std::vector<double> m_pStress;
    double weight;

    void SetStress(Eigen::MatrixXd& in, int n_coord, std::vector<double>& coord_c);
    void foutStress(std::ofstream& fout);

    void smoothout(std::vector<double>& stress);
    void getweight(double& A);
};

